package com.ruoyi.erecord.samplebox.service;

import com.ruoyi.erecord.samplebox.domain.SampleboxImportBase;
import com.ruoyi.erecord.samplebox.domain.vo.SampleboxImportBaseVo;
import com.ruoyi.erecord.samplebox.domain.bo.SampleboxImportBaseBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 样本框导入Service接口
 *
 * @author cc
 * @date 2023-04-22
 */
public interface ISampleboxImportBaseService {

    /**
     * 查询样本框导入
     */
    SampleboxImportBaseVo queryById(String batchNo);

    /**
     * 查询样本框导入列表
     */
    TableDataInfo<SampleboxImportBaseVo> queryPageList(SampleboxImportBaseBo bo, PageQuery pageQuery);

    /**
     * 查询样本框导入列表
     */
    List<SampleboxImportBaseVo> queryList(SampleboxImportBaseBo bo);

    /**
     * 新增样本框导入
     */
    Boolean insertByBo(SampleboxImportBaseBo bo);

    /**
     * 修改样本框导入
     */
    Boolean updateByBo(SampleboxImportBaseBo bo);

    /**
     * 校验并批量删除样本框导入信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);
}
